﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace AnesSystem.Controls
{
    /// <summary>
    /// CustomComBoxWuYouCtrl.xaml 的交互逻辑
    /// </summary>
    public partial class CustomComBoxPingFen10Ctrl : BaseDropDownCtrl
    {
        public CustomComBoxPingFen10Ctrl()
        {
            InitializeComponent();
            InitialPingFen();
        }
       
        private void InitialPingFen()
        {
            List<CommonComboboxItemModel> list = new List<CommonComboboxItemModel>()
            {
                new CommonComboboxItemModel() { Behind=" ",Display=" " },
                new CommonComboboxItemModel() { Behind="1",Display="1" },
                 new CommonComboboxItemModel() { Behind="2",Display="2" },
                  new CommonComboboxItemModel() { Behind="3",Display="3" },
                   new CommonComboboxItemModel() { Behind="4",Display="4" },
                    new CommonComboboxItemModel() { Behind="5",Display="5" },
                     new CommonComboboxItemModel() { Behind="6",Display="6" },
                      new CommonComboboxItemModel() { Behind="7",Display="7" },
                       new CommonComboboxItemModel() { Behind="8",Display="8" },
                        new CommonComboboxItemModel() { Behind="9",Display="9" },
                         new CommonComboboxItemModel() { Behind="10",Display="10" },
            };
            this._pingfen10Cmp.ItemsSource = list;
        }

    }
}
